---
title: LangChain Provider
subtitle: Use Composio tools with LangChain
slug: /providers/langchain
image: "https://og.composio.dev/api/og?title=LangChain%20Provider"   # image for socials
keywords: ""
hide-nav-links: false
---

The LangChain Provider transforms Composio tools into a format compatible with LangChain's function calling capabilities.

## Setup
<CodeGroup>
```bash title="Python" for="python"
pip install composio_langchain==0.8.0 langchain
```
```bash title="TypeScript" for="typescript"
npm install @composio/langchain
```
</CodeGroup>

## Usage

<CodeGroup>
<SnippetCode
  src="fern/snippets/providers/python/langchain-provider.py"
  title="Python"
/>
<SnippetCode
  src="fern/snippets/providers/typescript/langchain.ts"
  title="TypeScript"
/>
</CodeGroup>